package com.zdyg.inputtask.project.controller;


import com.zdyg.inputtask.project.service.IBOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 订单表 前端控制器
 * </p>
 *
 * @author ANGE
 * @since 2019-12-11
 */
@Controller
@RequestMapping("/order")
public class BOrderController {
    @Autowired
    private IBOrderService orderService;

    @RequestMapping("/getOrders")
    public String getOrders(){
        orderService.getOrders();
        return "order";
    }
}

